home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 101 / CD-ROM 101.iso / compl / maya5ple / Install_MayaPLE5_English.exe / Maya / Data1.cab / shelf_Animation.mel < prev    next >
Encoding:
Text File  |  2003-07-17  |  7.3 KB  |  202 lines

  1. // Copyright (C) 1997-2002 Alias|Wavefront,
  2. // a division of Silicon Graphics Limited.
  3. //
  4. // The information in this file is provided for the exclusive use of the
  5. // licensees of Alias|Wavefront.  Such users have the right to use, modify,
  6. // and incorporate this code into other products for purposes authorized
  7. // by the Alias|Wavefront license agreement, without fee.
  8. //
  9. // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  10. // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  11. // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  12. // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  13. // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  14. // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  15. // PERFORMANCE OF THIS SOFTWARE.
  16. //
  17. //
  18. //  Alias|Wavefront Script File
  19. //  MODIFY THIS AT YOUR OWN RISK
  20. //
  21. //  Creation Date:  08 January 2002
  22. //
  23. //  Description:
  24. //      Define the Animation shelf.
  25. //
  26. global proc shelf_Animation() {
  27.  
  28.     shelfButton
  29.         -label      "Set Key"
  30.         -annotation (getRunTimeCommandAnnotation("SetKey"))
  31.         -image1     "setKeyframe.xpm"
  32.         -command    ("SetKey")
  33.         -doubleClickCommand ("SetKeyOptions");
  34.  
  35.     shelfButton
  36.         -label      "Attach to Motion Path"
  37.         -annotation (getRunTimeCommandAnnotation("AttachToPath"))
  38.         -image1     "motionPath.xpm"
  39.         -command    ("AttachToPath")
  40.         -doubleClickCommand ("AttachToPathOptions");
  41.  
  42.     shelfButton
  43.         -label      "Set Motion Path Key"
  44.         -annotation (getRunTimeCommandAnnotation("SetKeyPath"))
  45.         -image1     "motionPathKey.xpm"
  46.         -command    ("SetKeyPath");
  47.  
  48.     shelfButton
  49.         -label      "Motion Trail"
  50.         -annotation (getRunTimeCommandAnnotation("CreateMotionTrail"))
  51.         -image1     "motionTrail.xpm"
  52.         -command    ("CreateMotionTrail")
  53.         -doubleClickCommand ("CreateMotionTrailOptions");
  54.  
  55.     shelfButton
  56.         -label      "Ghosting"
  57.         -annotation (getRunTimeCommandAnnotation("GhostObject"))
  58.         -image1     "ghost.xpm"
  59.         -command    ("GhostObject");
  60.  
  61.     shelfButton
  62.         -label      "No Ghosting"
  63.         -annotation (getRunTimeCommandAnnotation("UnghostObject"))
  64.         -image1     "ghostOff.xpm"
  65.         -command    ("UnghostObject");
  66.  
  67.     shelfButton
  68.         -label      "Joint Tool"
  69.         -annotation (getRunTimeCommandAnnotation("JointTool"))
  70.         -image1     "kinJoint.xpm"
  71.         -command    ("JointTool")
  72.         -doubleClickCommand ("JointToolOptions");
  73.  
  74.     shelfButton
  75.         -label      "IK Handle Tool"
  76.         -annotation (getRunTimeCommandAnnotation("IKHandleTool"))
  77.         -image1     "kinHandle.xpm"
  78.         -command    ("IKHandleTool")
  79.         -doubleClickCommand ("IKHandleToolOptions");
  80.  
  81.     shelfButton
  82.         -label      "Connect Joint"
  83.         -annotation (getRunTimeCommandAnnotation("ConnectJoint"))
  84.         -image1     "kinConnect.xpm"
  85.         -command    ("ConnectJoint")
  86.         -doubleClickCommand ("ConnectJointOptions");
  87.  
  88.     shelfButton
  89.         -label      "Disconnect Joint"
  90.         -annotation (getRunTimeCommandAnnotation("DisconnectJoint"))
  91.         -image1     "kinDisconnect.xpm"
  92.         -command    ("DisconnectJoint");
  93.  
  94.     shelfButton
  95.         -label      "Reroot Skeleton"
  96.         -annotation (getRunTimeCommandAnnotation("RerootSkeleton"))
  97.         -image1     "kinReroot.xpm"
  98.         -command    ("RerootSkeleton");
  99.  
  100.     shelfButton
  101.         -label      "Remove Joint"
  102.         -annotation (getRunTimeCommandAnnotation("RemoveJoint"))
  103.         -image1     "kinRemove.xpm"
  104.         -command    ("RemoveJoint");
  105.  
  106.     shelfButton
  107.         -label      "Mirror Joint"
  108.         -annotation (getRunTimeCommandAnnotation("MirrorJoint"))
  109.         -image1     "kinMirrorJoint_S.xpm"
  110.         -command    ("MirrorJoint")
  111.         -doubleClickCommand ("MirrorJointOptions");
  112.  
  113.     shelfButton
  114.         -label      "Orient Joint"
  115.         -annotation (getRunTimeCommandAnnotation("OrientJoint"))
  116.         -image1     "orientJoint.xpm"
  117.         -command    ("OrientJoint")
  118.         -doubleClickCommand ("OrientJointOptions");
  119.  
  120.     shelfButton
  121.         -label      "IK Spline Handle Tool"
  122.         -annotation (getRunTimeCommandAnnotation("IKSplineHandleTool"))
  123.         -image1     "kinSplineHandle.xpm"
  124.         -command    ("IKSplineHandleTool")
  125.         -doubleClickCommand ("IKSplineHandleToolOptions");
  126.  
  127.     shelfButton
  128.         -label      "Smooth Bind"
  129.         -annotation (getRunTimeCommandAnnotation("SmoothBindSkin"))
  130.         -image1     "smoothSkin.xpm"
  131.         -command    ("SmoothBindSkin")
  132.         -doubleClickCommand ("SmoothBindSkinOptions");
  133.  
  134.     shelfButton
  135.         -label      "Mirror Skin Weights"
  136.         -annotation (getRunTimeCommandAnnotation("MirrorSkinWeights"))
  137.         -image1     "mirrorSkinWeight.xpm"
  138.         -command    ("MirrorSkinWeights")
  139.         -doubleClickCommand ("MirrorSkinWeightsOptions");
  140.  
  141.     shelfButton
  142.         -label      "Copy Skin Weights"
  143.         -annotation (getRunTimeCommandAnnotation("CopySkinWeights"))
  144.         -image1     "copySkinWeight.xpm" 
  145.         -command    ("CopySkinWeights");
  146.  
  147.     shelfButton
  148.         -label      "Export Skin Weight Maps"
  149.         -annotation (getRunTimeCommandAnnotation("ExportSkinWeightMaps"))
  150.         -image1     "exportSmoothSkin.xpm"
  151.         -command    ("ExportSkinWeightMaps")
  152.         -doubleClickCommand ("ExportSkinWeightMapsOptions");
  153.  
  154.     shelfButton
  155.         -label      "Import Skin Weight Maps"
  156.         -annotation (getRunTimeCommandAnnotation("ImportSkinWeightMaps"))
  157.         -image1     "importSmoothSkin.xpm"
  158.         -command    ("ImportSkinWeightMaps");
  159.  
  160.     shelfButton
  161.         -label      "Paint Skin Weights Tool"
  162.         -annotation (getRunTimeCommandAnnotation("ArtPaintSkinWeightsTool"))
  163.         -image1     "paintSkinWeights.xpm"
  164.         -command    ("ArtPaintSkinWeightsTool")
  165.         -doubleClickCommand ("ArtPaintSkinWeightsToolOptions");
  166.  
  167.     shelfButton
  168.         -label      "Locator"
  169.         -annotation (getRunTimeCommandAnnotation("CreateLocator"))
  170.         -image1     "locator.xpm"
  171.         -command    ("CreateLocator");
  172.  
  173.     shelfButton
  174.         -label      "Point Constraint"
  175.         -annotation (getRunTimeCommandAnnotation("PointConstraint"))
  176.         -image1     "posConstraint.xpm"
  177.         -command    ("PointConstraint")
  178.         -doubleClickCommand ("PointConstraintOptions");
  179.  
  180.     shelfButton
  181.         -label      "Aim Constraint"
  182.         -annotation (getRunTimeCommandAnnotation("AimConstraint"))
  183.         -image1     "aimConstraint.xpm"
  184.         -command    ("AimConstraint")
  185.         -doubleClickCommand ("AimConstraintOptions");
  186.  
  187.     shelfButton
  188.         -label      "Orient Constraint"
  189.         -annotation (getRunTimeCommandAnnotation("OrientConstraint"))
  190.         -image1     "orientConstraint.xpm"
  191.         -command    ("OrientConstraint")
  192.         -doubleClickCommand ("OrientConstraintOptions");
  193.  
  194.     shelfButton
  195.         -label      "Parent Constraint"
  196.         -annotation (getRunTimeCommandAnnotation("ParentConstraint"))
  197.         -image1     "parentConstraint.xpm"
  198.         -command    ("ParentConstraint")
  199.         -doubleClickCommand ("ParentConstraintOptions");
  200.  
  201.